<%-- 
    Document   : connection
    Created on : 12 Jan, 2013, 7:31:24 PM
    Author     : s
--%>


<%@page import="java.sql.*" %>
<%!
    Connection con;    
    PreparedStatement pstmt;
    Statement st;
    ResultSet rs;
%>    
    <%
        Class.forName("com.mysql.jdbc.Driver");
        con=DriverManager.getConnection("jdbc:mysql://localhost:3306/stock","root","");
       
     %>
    
